<table id="api_table" ref="SrvApi" class="table" width="100%" border="0" cellspacing="1" cellpadding="0">
		<thead class="state-header">
		  <tr>
		  
		  	  <td  width="40" tdid="0" align="center">
			 	选择
			  </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"saId")||fields=="*"||(!fields && true)}}' tdid="1" ref="saId"   title="编号">编号
			 </td>
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"saName")||fields=="*"||(!fields && true)}}' tdid="2" ref="saName" flagKey='true'  title="API名称">API名称
			 </td>
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"saNamespace")||fields=="*"||(!fields && true)}}' tdid="3" ref="saNamespace"   title="名称空间">名称空间
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"saType")||fields=="*"||(!fields && true)}}' tdid="4" ref="saType"   title="接口分类">接口分类
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"saVersion")||fields=="*"||(!fields && true)}}' tdid="5" ref="saVersion"   title="版本号">版本号
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"saOpen")||fields=="*"||(!fields && true)}}' tdid="6" ref="saOpen"   title="是否开放">是否开放
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"saOauth")||fields=="*"||(!fields && true)}}' tdid="7" ref="saOauth"   title="需要用户授权">需要用户授权
			 </td>
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"saDescript")||fields=="*"||(!fields && false)}}' tdid="8" ref="saDescript"   title="接口说明">接口说明
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"saDir")||fields=="*"||(!fields && true)}}' tdid="9" ref="saDir"   title="数据方向">数据方向
			 </td>
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"saMethod")||fields=="*"||(!fields && true)}}' tdid="10" ref="saMethod"   title="函数名称">函数名称
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"saLog")||fields=="*"||(!fields && true)}}' tdid="11" ref="saLog"   title="记录日志">记录日志
			 </td>
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"saUpdateTime")||fields=="*"||(!fields && false)}}' tdid="12" ref="saUpdateTime"   title="修改时间">修改时间
			 </td>
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"saAddTime")||fields=="*"||(!fields && false)}}' tdid="13" ref="saAddTime"   title="添加时间">添加时间
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"saStatus")||fields=="*"||(!fields && true)}}' tdid="14" ref="saStatus"   title="状态">状态
			 </td>
			<td  width="105"  class="operation" tdid="15" ref="operation">
				&nbsp;
			</td>
		  </tr>
		 </thead>	
		 <tbody>
		 
		  <tr lz:for="{{list}}" id="{{item.saId}}" >
		  	<td class="td-checkbox" align="center">
				<input class="check" name="check" type="checkbox" value="{{item.saId}}"/>
			</td>
			 
				<td lz:if='{{lz.idin(fields,"saId")||fields=="*"||(!fields && true)}}' ref="saId" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.saId$ || item.saId}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"saName")||fields=="*"||(!fields && true)}}' ref="saName" class="inc {{index%2==0?'odd':'even'}} td  node">
					 
					 
					 	{{item.saName$ || item.saName}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"saNamespace")||fields=="*"||(!fields && true)}}' ref="saNamespace" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.saNamespace$ || item.saNamespace}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"saType")||fields=="*"||(!fields && true)}}' ref="saType" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.saType}}">
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/api/apitype.edit.html?key={{item.saType}}')" href="javascript:void(0);">
					 	{{item.saType$ || item.saType}}</a>
				</td>
			 
				<td lz:if='{{lz.idin(fields,"saVersion")||fields=="*"||(!fields && true)}}' ref="saVersion" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.saVersion$ || item.saVersion}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"saOpen")||fields=="*"||(!fields && true)}}' ref="saOpen" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.saOpen$ || item.saOpen}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"saOauth")||fields=="*"||(!fields && true)}}' ref="saOauth" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.saOauth$ || item.saOauth}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"saDescript")||fields=="*"||(!fields && false)}}' ref="saDescript" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.saDescript$ || item.saDescript}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"saDir")||fields=="*"||(!fields && true)}}' ref="saDir" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.saDir$ || item.saDir}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"saMethod")||fields=="*"||(!fields && true)}}' ref="saMethod" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.saMethod$ || item.saMethod}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"saLog")||fields=="*"||(!fields && true)}}' ref="saLog" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.saLog$ || item.saLog}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"saUpdateTime")||fields=="*"||(!fields && false)}}' ref="saUpdateTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.saUpdateTime$ || item.saUpdateTime}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"saAddTime")||fields=="*"||(!fields && false)}}' ref="saAddTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.saAddTime$ || item.saAddTime}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"saStatus")||fields=="*"||(!fields && true)}}' ref="saStatus" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.saStatus$ || item.saStatus}}
				</td>
			<td class="operation {{index%2==0?'odd':'even'}}">
				<a lz:if="{{canEdit}}" onclick='navigate("/admin/api/api.edit.html",{edittype:"update",id:"{{item.id}}"},window)' href="javascript:void(0)">修改</a>
				<a lz:if="{{canDel}}" onclick="deleteApi('{{item.saId}}','{{item.saName}}')" href="javascript:void(0);">删除</a>
				<a lz:if="{{canView}}" class="inc-h" onclick='navigate("/admin/api/api.edit.html",{edittype:"detail",id:"{{item.id}}"},window)' href="javascript:void(0);">详情</a>
			</td>
		  </tr>
		 
		 </tbody>
		 		 
	  </table>